﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Ajax.Web.index"
    EnableViewState="false" %>

<%@ Register Src="~/Control/Top.ascx" TagName="top" TagPrefix="AjaxControl" %>
<%@ Register Src="~/Control/Footer.ascx" TagName="footer" TagPrefix="AjaxControl" %>
<%@ Register Src="~/Control/rightweb.ascx" TagName="rightweb" TagPrefix="AjaxControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>首页 -
        <%=webset.WebName %></title>
        <%=AddMetaInfo(webset.WebKeywords,webset.WebDescription,"") %>
    <link type="text/css" rel="stylesheet" href="css/style.css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="js/flash.js"></script>

</head>
<body id="home">
    <form id="form1" runat="server">
    <!--Head.Start-->
    <AjaxControl:top ID="topControls" runat="server" />
    <!--Head.End-->
    <!--content.Start-->
    <div class="main">
        <!--left.start-->
        <div style="float: left; width: 682px; height: auto;">
            <script type="text/javascript" src="/Tools/Advert_js.ashx?id=1"></script>

        </div>
        <!--left.end-->
        <!--right.start-->
        <AjaxControl:rightweb runat="server" />
        <!--right.end-->
        <div class="line10">
        </div>
        <!--left.start-->
        <div class="nleft">
            <div class="mode">
                <div class="rm_u">
                </div>
                <div class="container">
                    <h2 class="title">
                        最新产品<span class="more"><a href="Product.aspx">更多 &gt;&gt;</a></span></h2>
                    <div class="ul_img">
                        <ul>
                            <%=Ajax.Web.UI.Products.ViewImgList(10, 16, 118, 118, "IsLock=0", "AddTime desc")%>
                        </ul>
                        <div class="clear">
                        </div>
                    </div>
                </div>
                <div class="rm_d">
                </div>
            </div>
            <div class="line10">
            </div>
            <div class="tool" style="margin-right: 10px; float: left; width: 336px;">
                <div class="rn_u">
                </div>
                <div class="container">
                    <h2>
                        <span class="border_line">企业动态</span></h2>
                    <ul class="ul_txt">
                        <%=Ajax.Web.UI.Article.ViewTxtList(8, 42, 0, "", "ClassId=1 and IsRed=1 and IsLock=0", "AddTime desc")%>
                    </ul>
                </div>
                <div class="rn_d">
                </div>
            </div>
            <div class="tool" style="float: left; width: 336px;">
                <div class="rn_u">
                </div>
                <div class="container">
                    <h2>
                        <span class="border_line">行业资讯</span></h2>
                    <ul class="ul_txt">
                        <%=Ajax.Web.UI.Article.ViewTxtList(8, 42, 0, "", "ClassId=44 and IsRed=1 and IsLock=0", "AddTime desc")%>
                    </ul>
                </div>
                <div class="rn_d">
                </div>
            </div>
        </div>
        <!--left.end-->
        <!--right.start-->
        <div class="nright">
            <div class="tool">
                <div class="rs_u">
                </div>
                <div class="container">
                    <h2>
                        <span class="border_line">产品推荐</span></h2>
                    <ul class="ul_txt2">
                        <%=Ajax.Web.UI.Products.ViewTxtList(10, 30, 0, "", "IsLock=0 and IsRed=1", "Click desc,AddTime desc")%>
                    </ul>
                </div>
                <div class="rs_d">
                </div>
            </div>
            <div class="line10">
            </div>
            <div class="tool">
                <div class="rs_u">
                </div>
                <div class="container">
                    <h2>
                        <span class="border_line">帮助中心</span></h2>
                    <ul class="ul_txt">
                        <%=Ajax.Web.UI.Article.ViewTxtList(8, 42, 0, "", "ClassId=45 and IsRed=1 and IsLock=0", "AddTime desc")%>
                    </ul>
                </div>
                <div class="rs_d">
                </div>
            </div>
        </div>
        <!--right.end-->
    </div>
    <!--content.End-->
    <div class="links">
        <div class="nTxt">
            友情链接：<%=Ajax.Web.UI.Links.ViewImgList(10, "IsRed=1 and IsImage=0 and IsLock=0", "SortId asc,AddTime desc")%>
        </div>
        <div class="nImg">
            <ul>
                <%=Ajax.Web.UI.Links.ViewImgList(10, "IsRed=1 and IsImage=1 and IsLock=0", "SortId asc,AddTime desc")%>
            </ul>
        </div>
        <div class="clear">
        </div>
    </div>
    <!--footer Start-->
    <AjaxControl:footer ID="Footer" runat="server" />
    <!--footer End-->
    </form>
</body>
</html>
